<template>
  <div class="AppContainer">
    <h1>webpack -- study</h1>
    <!-- <login></login>
            <register></register>
            <tiyu></tiyu> -->
    <router-link to="/login">登录</router-link>
    <router-link to="/register">注册</router-link>
    <router-link to="/tiyu">体育</router-link>
    <router-link to="/user">用户</router-link>

    <keep-alive>
      <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style lang = "scss">
/* // app.vue一般定义公共样式
// 当前路由高亮显示： */
.router-link-active {
  border-bottom: 2px solid skyblue;
}
@import "./assets/scss/common.scss";
</style>